package cn.edu.jsu.zjj.service;

import cn.edu.jsu.zjj.model.dto.docu.DocuQueryRequest;
import cn.edu.jsu.zjj.model.entity.Docu;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 资料表 服务类
 * </p>
 *
 * @author fyt
 * @since 2024-05-12
 */
public interface DocuService extends IService<Docu> {

    QueryWrapper<Docu> getQueryWrapper(DocuQueryRequest docuQueryRequest);

    QueryWrapper<Docu> getMyQueryWrapper(DocuQueryRequest docuQueryRequest);

    Page<Docu> queryDocu(Page<Docu> page, String name, String userMajorId);
}